package com.charles.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.util.Date;

/**
 * @author charles
 * @date 2022/11/6 1:02
 */
@Data
@TableName(value = "u_id")
public class UId {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String bizType;

    private Long nextId;

    private Date createTime;

    private Date updateTime;

    @Version
    private Long version;
}
